package com.his.his_system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.his_system.domain.DzmHisMedicines;
import com.his.his_system.service.DzmHisMedicinesService;
import com.his.his_system.mapper.DzmHisMedicinesMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 冯心愿
* @description 针对表【dzm_his_medicines(药品信息表)】的数据库操作Service实现
* @createDate 2023-07-06 14:23:53
*/
@Service
public class DzmHisMedicinesServiceImpl extends ServiceImpl<DzmHisMedicinesMapper, DzmHisMedicines>
    implements DzmHisMedicinesService{
    @Resource
    private  DzmHisMedicinesMapper dzmHisMedicinesMapper;
    @Override
    public List<DzmHisMedicines> display() {
        return dzmHisMedicinesMapper.display();
    }

    @Override
    public List<DzmHisMedicines> ys(DzmHisMedicines dzmHisMedicines,Integer  hospitalId) {
        return dzmHisMedicinesMapper.ys(dzmHisMedicines,hospitalId);
    }





    @Override
    public List<DzmHisMedicines> getMedicalInfo() {
        return dzmHisMedicinesMapper.getMedicalInfo();
    }
}




